/**
 * 请求方式
 */
export const HTTP_METHOD = {
  GET: "get",
  POST: "post",
  PUT: "put",
  PATCH: "patch",
  DELETE: "delete",
  JSONP: "jsonp"
}
/**
 * token快过期时间
 */
export const TOKEN_TIME_EXPIRE = 10 * 60 * 1000

/**
 * 请求url默认前缀
 */
// export const URL_DEFAULT_PREFIXER = "https://showroom.chinacloudsites11.cn/api"
export const URL_DEFAULT_PREFIXER = 'https://showroom.covestro.com/api'

/**
 * 请求默认超时时间
 */
export const REQ_TIME_OUT = 60 * 1000

/**
 * 是否序列化post,put,patch时的数据
 * 此参数在使用axios时会确定Content-Type的值
 */
export const IS_SERIALIZER_PARAMS = true

/**
 * 请求数据类型
 */
export const CONTENT_TYPE = {
  JSON: "application/json;charset=utf-8",
  FORM: "application/x-www-form-urlencoded;charset=utf-8"
}
